package cn.tannn.captcha.sdk.config;

public class CaptchaFontConfig {
    /**
     * 字符验证码字体名称 （系统字体里找名字
     *    <p> Microsoft YaHei  // 微软雅黑
     *    <p> SimSun        // 宋体
     *    <p> SimHei          // 黑体
     *    <p> Arial           // Arial 默认
     *    <p> Times New Roman  // Times New Roman
     */
    private String charFontName = "Arial";

    /**
     * 字符验证码字体大小
     */
    private int charFontSize = 32;

    /**
     * 数学验证码字体名称 （系统字体里找名字
     *    <p> Microsoft YaHei  // 微软雅黑
     *    <p> SimSun        // 宋体
     *    <p> SimHei          // 黑体
     *    <p> Arial           // Arial 默认
     *    <p> Times New Roman  // Times New Roman
     */
    private String mathFontName = "Arial";

    /**
     * 数学验证码字体大小
     */
    private int mathFontSize = 20;

    public String getCharFontName() {
        return charFontName;
    }

    public void setCharFontName(String charFontName) {
        this.charFontName = charFontName;
    }

    public int getCharFontSize() {
        return charFontSize;
    }

    public void setCharFontSize(int charFontSize) {
        this.charFontSize = charFontSize;
    }

    public String getMathFontName() {
        return mathFontName;
    }

    public void setMathFontName(String mathFontName) {
        this.mathFontName = mathFontName;
    }

    public int getMathFontSize() {
        return mathFontSize;
    }

    public void setMathFontSize(int mathFontSize) {
        this.mathFontSize = mathFontSize;
    }

    @Override
    public String toString() {
        return "CaptchaFontConfig{" +
                "charFontName='" + charFontName + '\'' +
                ", charFontSize=" + charFontSize +
                ", mathFontName='" + mathFontName + '\'' +
                ", mathFontSize=" + mathFontSize +
                '}';
    }
}
